VIEWING ROOM ACTIVITIES


Room Activity Record" ; ?>
prepare("select * from booking_table where Room_no = '$room'") ; $getrec->execute() ; //get sum $gsum = $DBcon->prepare("select sum(T_cost) as gcost from booking_table where Room_no = '$room' ") ; $gsum->execute() ; $gsrow = $gsum->fetch(pdo::FETCH_ASSOC) ; $tsum = $gsrow['gcost'] ; $count = 0 ; while($row = $getrec->fetch(pdo::FETCH_ASSOC)) { $count++ ; ?>
SN BOOKING-ID CUSTOMER ROOM NO CHECK-IN CHECK-OUT GUEST NO AMOUNT
            Grand Total